home *** CD-ROM | disk | FTP | other *** search
/ Voyager Presents CD-ROM's That Matter / Voyager Presents CD-ROM's That Matter.iso / pc / demos / crit / crit.dir / 00072.ls < prev    next >
Encoding:
Text File  |  1994-11-01  |  553 b   |  37 lines

  1. on enterFrame
  2.   cursor(200)
  3. end
  4.  
  5. on waitQT chan
  6.   if the movieRate of sprite chan = 1 then
  7.     go(the frame)
  8.   end if
  9. end
  10.  
  11. on waitSound chan
  12.   if soundBusy(chan) then
  13.     go(the frame)
  14.   end if
  15. end
  16.  
  17. on myWait theTicks
  18.   set myTicks to theTicks + the ticks
  19.   repeat while myTicks >= the ticks
  20.   end repeat
  21. end
  22.  
  23. on keyDown
  24.   global autoPlaying
  25.   set autoPlaying to 0
  26.   sound stop 1
  27.   sound stop 2
  28.   unLoadCast()
  29.   play done
  30. end
  31.  
  32. on delayQT theSprite, theTicks
  33.   repeat while the movieTime of sprite theSprite < theTicks
  34.     updateStage()
  35.   end repeat
  36. end
  37.